package Decorator;

public class ConcreteDecorator extends Decorator
{
	public ConcreteDecorator(Component component)
	{
		super(component);
	}
	
	@Override
	public void doSomething()
	{
		super.doSomething();
		doAnnotherthing();
	}
	private void doAnnotherthing()
	{
		System.out.println("功能B");
	}
}
